<template>
	<w-layout @scroll="scroll" navTitle="标题" showTabbar>
		<template #default>
			<view class="aaa">
				{{ mixinData }}
				<view class="">
					111
				</view>
			</view>
			<up-button type="primary" text="确定"></up-button>
			<view class="">
				底部
			</view>
		</template>
		
		<template #sticky>
			<view>111</view>
		</template>
	</w-layout>
</template>

<script setup lang="ts">
	import { ref, onMounted } from 'vue'
	import { onLoad } from '@dcloudio/uni-app'
	
	
	onMounted(() => {
		console.log('111', uni.$u.config)
	})
	onLoad((options)=>{
		console.log('111',options)
	})
	
	const scroll = (e)=>{
		console.log(e,'子组件传来的数据')
	}
</script>

<style lang="scss">
	.aaa{
		height: 100vh;
		color: var(--color);
		
		background-color: gray;
	}
</style>